package orgs.example.service;

import orgs.example.pojo.Cancellation;
import orgs.example.pojo.MeetingRoom;
import orgs.example.pojo.Reservation;
import orgs.example.pojo.User;

import java.util.List;
import java.util.Map;

public interface CustomerService {
    List<MeetingRoom> searchRoom(MeetingRoom meetingRoom);

    List<Reservation> searchReservationByUserId();

    void changeReservationStatus(Integer reserveId, String status);

    void changeRoomStatus(Integer roomId, String status);

    Reservation searchReservationByReserveId(Integer reserveId);

    MeetingRoom searchRoomByRoomId(Integer roomId);

    User searchUserByUserId(Integer userId);

    void addCancellation(Cancellation cancellation);

    List<Map<String,Object>> searchCancellationByUserId();

    List<Reservation> searchAllReservation();

    List<Cancellation> searchCancellationByRserveId(Integer reserveId);

    void addReservation(Reservation reservation);

    List<Reservation> searchAllReservationByRoomId(Integer roomId);
}
